<!DOCTYPE html>
<html lang="zxx" class="js">

<head>
    <base href="../">
    <meta charset="utf-8">
    <meta name="author" content="Softnio">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="A powerful and conceptual apps base dashboard template that especially build for developers and programmers.">
    <!-- Fav Icon  -->
    <link rel="shortcut icon" href="./images/favicon.png">
    <!-- Page Title  -->
    <title>修改物种信息</title>
    <!-- StyleSheets  -->
    <link rel="stylesheet" href="./assets/css/dashlite.css?ver=2.2.0">
    <link id="skin-default" rel="stylesheet" href="./assets/css/theme.css?ver=2.2.0">
</head>

<body class="nk-body bg-lighter npc-general has-sidebar " ng-app="alienPlants"  ng-controller="specController"  ng-init="loadSpecData()">
    <div class="nk-app-root">
        <!-- main @s -->
        <div class="nk-main ">
            <!-- sidebar @s -->
            <div class="nk-sidebar nk-sidebar-fixed is-dark " data-content="sidebarMenu" id="sliderModel">        
            </div>
            <!-- sidebar @e -->
            <!-- wrap @s -->
            <div class="nk-wrap ">
                <!-- main header @s -->
                <div class="nk-header nk-header-fixed is-light" id="headerSilder">
                </div>
                <!-- main header @e -->
                <!-- content @s -->
                <div class="nk-content ">
                    <div class="container-fluid">
                        <div class="nk-content-inner">
                            <div class="nk-content-body">
                                <div class="components-preview wide-md mx-auto">
                                    <div class="nk-block nk-block-lg">
                                        <div class="nk-block-head-content">
                                            <h3 class="nk-block-title page-title mb-4">修改{{s.specyName}}信息</h3>
                                        </div><!-- .nk-block-head-content -->
                                        <div class="card card-preview px-0">
                                            <div class="card-inner">
                                                <div class="preview-block">
                                                    <span class="preview-title-lg overline-title">Modify Information</span>
                                                    <div class="row gy-4">
                                                        <!-- <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-01">物种id</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" id="default-01" placeholder="请输入物种id">
                                                                </div>
                                                            </div>
                                                        </div> -->
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">物种名</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" id="default-03" placeholder="请输入物种名 " name="specyName"  ng-model="s.specyName">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-01">拉丁学名</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" id="default-01" placeholder="请输入拉丁学名" name="latinName"   ng-model="s.latinName">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">别称</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入别称" name="anotherName"   ng-model="s.anotherName">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">科</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="specyFamily"   ng-model="s.specyFamily">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">属</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="specyGenus"   ng-model="s.specyGenus">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">纲</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalClass"   ng-model="s.animalClass">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">亚纲</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalSubclass"   ng-model="s.animalSubclass">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">目</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalOrder"   ng-model="s.animalOrder">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-01">动物类别</label>
                                                                <div class="form-wrap">
                                                                    <select class="form-select form-select-sm" data-search="off" data-placeholder="{{deType}}" ng-model="s.detailType">
                                                                        <option value="">请选择物种类型</option>
                                                                        <option value="1">脊椎动物</option>
                                                                        <option value="2">无脊椎动物</option>
                                                                    </select>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">管理名录</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalManagement"   ng-model="s.animalManagement">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">形态特征</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalCharacter"   ng-model="s.animalCharacter">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">繁殖特征</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalPropagate"   ng-model="s.animalPropagate">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">生活习性</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalHabits"   ng-model="s.animalHabits">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">主要危害</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalHarm"   ng-model="s.animalHarm">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-6">
                                                            <div class="form-group">
                                                                <label class="form-label" for="default-03">防治方法</label>
                                                                <div class="form-control-wrap">
                                                                    <input type="text" class="form-control" required id="default-03" placeholder="请输入" name="animalPrevention"   ng-model="s.animalPrevention">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-12">
                                                            <button  type="submit" class="btn btn-primary mt-3 mr-5 mb-4" style="float: right;" ng-click="mdyAnimal(s)">提交修改</button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div><!-- .card-preview -->
                                    </div><!-- .nk-block -->
                                </div><!-- .components-preview -->
                            </div>
                        </div>
                    </div>
                </div>
                <!-- content @e -->
                <!-- footer @s -->
                <div class="nk-footer">
                    <div class="container-fluid">
                        <div class="nk-footer-wrap">
                            <div class="nk-footer-copyright"> &copy; 2020 DashLite. Template by <a href="http://www.bootstrapmb.com/" target="_blank">Softnio</a>
                            </div>
                            <div class="nk-footer-links">
                                <ul class="nav nav-sm">
                                    <li class="nav-item"><a class="nav-link" href="html/index.html">返回首页</a></li>
                                    <li class="nav-item"><a class="nav-link" href="html/animal-info.html">动物一览表</a></li>
                                    <li class="nav-item"><a class="nav-link" href="html/animal-detail.html?sid={{s.specyId}}">该物种详细信息</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- footer @e -->
            </div>
            <!-- wrap @e -->
        </div>
        <!-- main @e -->
    </div>
    <!-- app-root @e -->
    <!-- JavaScript -->
    <script src="./assets/js/bundle.js?ver=2.2.0"></script>
    <script src="./assets/js/scripts.js?ver=2.2.0"></script>
    <script src="./assets/js/angular/angularjs/angular.min.js"></script>
    <script src="./assets/js/angular/angularjs/angular-route.min.js"></script>
    <script src="./assets/js/angular/base.js"></script>
    <script src="./assets/js/angular/service/specService.js"></script>
    <script src="./assets/js/angular/controller/specController.js"></script>
</body>

</html>